package com.howie.shirojwt.mapper;


import com.howie.shirojwt.model.UserDomPerm;
import com.howie.shirojwt.model.UserDomPermExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface UserDomPermMapper {
    int countByExample(UserDomPermExample example);

    int deleteByExample(UserDomPermExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserDomPerm record);

    int insertSelective(UserDomPerm record);

    List<UserDomPerm> selectByExampleWithRowbounds(UserDomPermExample example, RowBounds rowBounds);

    List<UserDomPerm> selectByExample(UserDomPermExample example);

    UserDomPerm selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserDomPerm record, @Param("example") UserDomPermExample example);

    int updateByExample(@Param("record") UserDomPerm record, @Param("example") UserDomPermExample example);

    int updateByPrimaryKeySelective(UserDomPerm record);

    int updateByPrimaryKey(UserDomPerm record);

    Long sumByExample(UserDomPermExample example);

    void batchInsert(@Param("items") List<UserDomPerm> items);
}